<!DOCTYPE html>
<html lang="en" >
<head>
  <meta charset="UTF-8">
  <title>Retro futuristic radio buttons with GSAP v10</title>
  <link rel="stylesheet" href="./style.css">

</head>
<body>
<!-- partial:index.partial.html -->
<div class="container">
  <div class="radio-btn-group">
    <input type="radio" name="stagger-radio-group" value="1" id="input-one" />
    <label for="input-one">
      <span>Option 1</span>
      <svg height="100%" width="100%" xmlns="http://www.w3.org/2000/svg">
        <g class="pink">
          <rect x="-101%" y="0" width="100%" height="5" />
          <rect x="-101%" y="5" width="100%" height="5" />
          <rect x="-101%" y="10" width="100%" height="5" />
          <rect x="-101%" y="15" width="100%" height="5" />
          <rect x="-101%" y="20" width="100%" height="5" />
          <rect x="-101%" y="25" width="100%" height="5" />
          <rect x="-101%" y="30" width="100%" height="5" />
          <rect x="-101%" y="35" width="100%" height="5" />
          <rect x="-101%" y="40" width="100%" height="5" />
          <rect x="-101%" y="45" width="100%" height="5" />
        </g>

        <g class="blue">
          <rect x="101%" y="0" width="100%" height="5" />
          <rect x="101%" y="5" width="100%" height="5" />
          <rect x="101%" y="10" width="100%" height="5" />
          <rect x="101%" y="15" width="100%" height="5" />
          <rect x="101%" y="20" width="100%" height="5" />
          <rect x="101%" y="25" width="100%" height="5" />
          <rect x="101%" y="30" width="100%" height="5" />
          <rect x="101%" y="35" width="100%" height="5" />
          <rect x="101%" y="40" width="100%" height="5" />
          <rect x="101%" y="45" width="100%" height="5" />
        </g>
      </svg>
    </label>
  </div>

  <div class="radio-btn-group">
    <input type="radio" name="stagger-radio-group" value="2" id="input-two" />
    <label for="input-two">
      <span>Option 2</span>
      <svg height="100%" width="100%" xmlns="http://www.w3.org/2000/svg">
        <g class="pink">
          <rect x="-101%" y="0" width="100%" height="5" />
          <rect x="-101%" y="5" width="100%" height="5" />
          <rect x="-101%" y="10" width="100%" height="5" />
          <rect x="-101%" y="15" width="100%" height="5" />
          <rect x="-101%" y="20" width="100%" height="5" />
          <rect x="-101%" y="25" width="100%" height="5" />
          <rect x="-101%" y="30" width="100%" height="5" />
          <rect x="-101%" y="35" width="100%" height="5" />
          <rect x="-101%" y="40" width="100%" height="5" />
          <rect x="-101%" y="45" width="100%" height="5" />
        </g>

        <g class="blue">
          <rect x="101%" y="0" width="100%" height="5" />
          <rect x="101%" y="5" width="100%" height="5" />
          <rect x="101%" y="10" width="100%" height="5" />
          <rect x="101%" y="15" width="100%" height="5" />
          <rect x="101%" y="20" width="100%" height="5" />
          <rect x="101%" y="25" width="100%" height="5" />
          <rect x="101%" y="30" width="100%" height="5" />
          <rect x="101%" y="35" width="100%" height="5" />
          <rect x="101%" y="40" width="100%" height="5" />
          <rect x="101%" y="45" width="100%" height="5" />
        </g>
      </svg>
    </label>
  </div>

  <div class="radio-btn-group">
    <input type="radio" name="stagger-radio-group" value="3" id="input-three" />
    <label for="input-three">
      <span>Option 3</span>
      <svg height="100%" width="100%" xmlns="http://www.w3.org/2000/svg">
        <g class="pink">
          <rect x="-101%" y="0" width="100%" height="5" />
          <rect x="-101%" y="5" width="100%" height="5" />
          <rect x="-101%" y="10" width="100%" height="5" />
          <rect x="-101%" y="15" width="100%" height="5" />
          <rect x="-101%" y="20" width="100%" height="5" />
          <rect x="-101%" y="25" width="100%" height="5" />
          <rect x="-101%" y="30" width="100%" height="5" />
          <rect x="-101%" y="35" width="100%" height="5" />
          <rect x="-101%" y="40" width="100%" height="5" />
          <rect x="-101%" y="45" width="100%" height="5" />
        </g>

        <g class="blue">
          <rect x="101%" y="0" width="100%" height="5" />
          <rect x="101%" y="5" width="100%" height="5" />
          <rect x="101%" y="10" width="100%" height="5" />
          <rect x="101%" y="15" width="100%" height="5" />
          <rect x="101%" y="20" width="100%" height="5" />
          <rect x="101%" y="25" width="100%" height="5" />
          <rect x="101%" y="30" width="100%" height="5" />
          <rect x="101%" y="35" width="100%" height="5" />
          <rect x="101%" y="40" width="100%" height="5" />
          <rect x="101%" y="45" width="100%" height="5" />
        </g>
      </svg>
    </label>
  </div>
</div>
<!-- partial -->
  <script src='https://cdn.jsdelivr.net/npm/gsap@3.12.5/dist/gsap.min.js'></script><script  src="./script.js"></script>

</body>
</html>
